package com.wclass.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * layui树结构
 *
 * @author zhanghaogao
 * @create 2017-11-25 下午2:51
 **/
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class LayTree {
    private Long id;
    /**
     * 名称
     */
    private String name;

    /**
     * 是否展开
     */
    private Boolean spread = false;

    /**
     * 跳转链接
     */
    private String href;

    /**
     * 下级菜单
     */
    private List<LayTree> children;

}
